package net.aynt.core.mvc.util;
//package net.aynt.core.util;
//
//import java.io.File;
//import java.util.Collection;
//
//public class AyntFileUtils {
//	
//    public static Collection<File> listFiles(
//            File directory, String[] extensions, boolean recursive) {
//        IOFileFilter filter;
//        if (extensions == null) {
//            filter = TrueFileFilter.INSTANCE;
//        } else {
//            String[] suffixes = toSuffixes(extensions);
//            filter = new SuffixFileFilter(suffixes);
//        }
//        return listFiles(directory, filter,
//            recursive ? TrueFileFilter.INSTANCE : FalseFileFilter.INSTANCE);
//    }
//    
//}
